.game-details {
  display: grid;
  grid-template-rows: auto 1fr;

  :deep(.nut-tabs .nut-tabs__titles) {
    padding: 0;
    height: 44px;
  }

  .amount_box {
    display: flex;
    align-items: center;

    >span {
      margin: 0 6px;
    }
  }

  .content {
    width: 100%;
    padding: 0 10px;
    margin-top: 14px;
  }

  .main_content {
    display: flex;

    >.games_box {
      width: 276px;
      height: 100%;
      padding-left: 2px;
    }
  }

  .tab {
    user-select: none; 
    touch-action: pan-y;
    -webkit-user-drag: none;
    display: flex;
    flex-direction: column;
    padding: 0 4px;

    font-size: 12px;

    .tab_item {
      display: flex;
      width: 68px;
      // padding: 10px;
      margin-bottom: 8px;
      justify-content: center;
      align-items: center;
      border-radius: 8px;
      background: #131232;
      box-shadow: 0.5px 0.5px 1px 0px #2e296b inset;

      >img {
        width: 68px;
        height: 40px;
      }

      >span {
        width: 68px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }

    .tab_ac {
      color: #fff;
      background: linear-gradient(180deg, #5567ff 0%, #9e1eff 100%);
      box-shadow: 0.5px 0.5px 1px 0px #9b9eff inset;
    }

    .tab_item {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      position: relative;
      padding-bottom: 20px;

      .img {
        width: 100%;
        height: auto;
      }

      .text {
        position: absolute;
        bottom: 5px;
        font-size: 12px;
        display: inline-block;
        width: 70px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .noimg {
      padding: 20px;
      align-items: center;

      .text {
        position: unset;
      }
    }
  }

  .query {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    :deep(.nut-input--border) {
      border-bottom: none;
    }

    // :deep(.nut-input-left-box){
    //   margin-right: ;
    // }
    &:deep(.nut-input) {
      height: 36px;
      padding: 8px;
      border-radius: 8px;
      background: #1d1c3c;

      input {
        &::placeholder {
          color: #504f6f;
        }
      }
    }
  }

  .scroll-view {
    height: 74vh;
    overflow: auto;
  }

  .game_list {
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    // justify-content: center;

    >div {
      width: 82px;
      height: 108px;
      margin-right: 8px;
      margin-bottom: 8px;
      border-radius: 8px;
      background: #1a1944;
      position: relative;

      &:nth-child(3n) {
        margin-right: 0;
      }
    }

    .item1 {
      width: 112px;
      height: 148px;
    }

    .item2 {
      width: 100%;
      height: 94px;
      margin-right: 0;
      border-radius: 8px;
      overflow: hidden;

      :deep(.title) {
        width: 15%;
        text-align: center;
        margin: 0 auto;
        position: absolute;
        bottom: 10px;
        left: 63px;
        font-size: 24px;
      }
    }

    .item3 {
      width: 50%;

      &:first-child {
        width: 100%;
      }

      :deep(.title) {
        width: 30%;
        text-align: center;
        margin: 0 auto;
        position: absolute;
        bottom: 10px;
        left: 25px;
        font-size: 24px;
      }
    }
  }
}